<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/9/14
  Time: 9:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
<h1>电影信息列表</h1>
<form action="">
  <input type="button" value="添加电影">
  <table >
    <tr>
      <th>电影名称</th>
      <th>电影类型</th>
      <th>价格</th>
      <th>是否推荐</th>
      <th>上映时间</th>
      <th>下映时间</th>
      <th>投票数</th>
    </tr>
    <c:forEach var="list" items="${sessionScope.list}">
      <tr>
        <td>${list.movieName}</td>
        <td>${list.movieType}</td>
        <td>${list.price}</td>
        <td>${list.recommend}</td>
        <td>${list.startTime}</td>
        <td>${list.endTime}</td>
        <td>${list.votes}</td>
      </tr>
    </c:forEach>
  </table>
</form>
  </body>
</html>
